Integrand size = 28, antiderivative size = 295 \[ \int \frac {A+B x}{\sqrt {d+e x} \left (b x+c x^2\right )^{3/2}} \, dx=-\frac {2 \sqrt {d+e x} (A b (c d-b e)+c (2 A c d-b (B d+A e)) x)}{b^2 d (c d-b e) \sqrt {b x+c x^2}}-\frac {2 \sqrt {c} (b B d-2 A c d+A b e) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {d+e x} E\left (\arcsin \left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{(-b)^{3/2} d (c d-b e) \sqrt {1+\frac {e x}{d}} \sqrt {b x+c x^2}}+\frac {2 (b B-2 A c) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {1+\frac {e x}{d}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right ),\frac {b e}{c d}\right )}{(-b)^{3/2} \sqrt {c} \sqrt {d+e x} \sqrt {b x+c x^2}} \]
[Out]
Time = 0.20 (sec) , antiderivative size = 295, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {836, 857, 729, 113, 111, 118, 117} \[ \int \frac {A+B x}{\sqrt {d+e x} \left (b x+c x^2\right )^{3/2}} \, dx=\frac {2 \sqrt {x} \sqrt {\frac {c x}{b}+1} \sqrt {\frac {e x}{d}+1} (b B-2 A c) \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right ),\frac {b e}{c d}\right )}{(-b)^{3/2} \sqrt {c} \sqrt {b x+c x^2} \sqrt {d+e x}}-\frac {2 \sqrt {c} \sqrt {x} \sqrt {\frac {c x}{b}+1} \sqrt {d+e x} (A b e-2 A c d+b B d) E\left (\arcsin \left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{(-b)^{3/2} d \sqrt {b x+c x^2} \sqrt {\frac {e x}{d}+1} (c d-b e)}-\frac {2 \sqrt {d+e x} (c x (2 A c d-b (A e+B d))+A b (c d-b e))}{b^2 d \sqrt {b x+c x^2} (c d-b e)} \]
[In]
[Out]
Rule 111
Rule 113
Rule 117
Rule 118
Rule 729
Rule 836
Rule 857
Rubi steps \begin{align*} \text {integral}& = -\frac {2 \sqrt {d+e x} (A b (c d-b e)+c (2 A c d-b (B d+A e)) x)}{b^2 d (c d-b e) \sqrt {b x+c x^2}}-\frac {2 \int \frac {\frac {1}{2} b (b B-A c) d e+\frac {1}{2} c e (b B d-2 A c d+A b e) x}{\sqrt {d+e x} \sqrt {b x+c x^2}} \, dx}{b^2 d (c d-b e)} \\ & = -\frac {2 \sqrt {d+e x} (A b (c d-b e)+c (2 A c d-b (B d+A e)) x)}{b^2 d (c d-b e) \sqrt {b x+c x^2}}+\frac {(b B-2 A c) \int \frac {1}{\sqrt {d+e x} \sqrt {b x+c x^2}} \, dx}{b^2}-\frac {(c (b B d-2 A c d+A b e)) \int \frac {\sqrt {d+e x}}{\sqrt {b x+c x^2}} \, dx}{b^2 d (c d-b e)} \\ & = -\frac {2 \sqrt {d+e x} (A b (c d-b e)+c (2 A c d-b (B d+A e)) x)}{b^2 d (c d-b e) \sqrt {b x+c x^2}}+\frac {\left ((b B-2 A c) \sqrt {x} \sqrt {b+c x}\right ) \int \frac {1}{\sqrt {x} \sqrt {b+c x} \sqrt {d+e x}} \, dx}{b^2 \sqrt {b x+c x^2}}-\frac {\left (c (b B d-2 A c d+A b e) \sqrt {x} \sqrt {b+c x}\right ) \int \frac {\sqrt {d+e x}}{\sqrt {x} \sqrt {b+c x}} \, dx}{b^2 d (c d-b e) \sqrt {b x+c x^2}} \\ & = -\frac {2 \sqrt {d+e x} (A b (c d-b e)+c (2 A c d-b (B d+A e)) x)}{b^2 d (c d-b e) \sqrt {b x+c x^2}}-\frac {\left (c (b B d-2 A c d+A b e) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {d+e x}\right ) \int \frac {\sqrt {1+\frac {e x}{d}}}{\sqrt {x} \sqrt {1+\frac {c x}{b}}} \, dx}{b^2 d (c d-b e) \sqrt {1+\frac {e x}{d}} \sqrt {b x+c x^2}}+\frac {\left ((b B-2 A c) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {1+\frac {e x}{d}}\right ) \int \frac {1}{\sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {1+\frac {e x}{d}}} \, dx}{b^2 \sqrt {d+e x} \sqrt {b x+c x^2}} \\ & = -\frac {2 \sqrt {d+e x} (A b (c d-b e)+c (2 A c d-b (B d+A e)) x)}{b^2 d (c d-b e) \sqrt {b x+c x^2}}-\frac {2 \sqrt {c} (b B d-2 A c d+A b e) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {d+e x} E\left (\sin ^{-1}\left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{(-b)^{3/2} d (c d-b e) \sqrt {1+\frac {e x}{d}} \sqrt {b x+c x^2}}+\frac {2 (b B-2 A c) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {1+\frac {e x}{d}} F\left (\sin ^{-1}\left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{(-b)^{3/2} \sqrt {c} \sqrt {d+e x} \sqrt {b x+c x^2}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 18.80 (sec) , antiderivative size = 233, normalized size of antiderivative = 0.79 \[ \int \frac {A+B x}{\sqrt {d+e x} \left (b x+c x^2\right )^{3/2}} \, dx=\frac {2 \sqrt {\frac {b}{c}} (b B-A c) d (d+e x)-2 i e (2 A c d-b (B d+A e)) \sqrt {1+\frac {b}{c x}} \sqrt {1+\frac {d}{e x}} x^{3/2} E\left (i \text {arcsinh}\left (\frac {\sqrt {\frac {b}{c}}}{\sqrt {x}}\right )|\frac {c d}{b e}\right )+2 i A e (c d-b e) \sqrt {1+\frac {b}{c x}} \sqrt {1+\frac {d}{e x}} x^{3/2} \operatorname {EllipticF}\left (i \text {arcsinh}\left (\frac {\sqrt {\frac {b}{c}}}{\sqrt {x}}\right ),\frac {c d}{b e}\right )}{b \sqrt {\frac {b}{c}} d (-c d+b e) \sqrt {x (b+c x)} \sqrt {d+e x}} \]
[In]
[Out]
Time = 1.21 (sec) , antiderivative size = 499, normalized size of antiderivative = 1.69
method | result | size |
elliptic | \(\frac {\sqrt {\left (e x +d \right ) x \left (c x +b \right )}\, \left (-\frac {2 \left (c e \,x^{2}+b e x +c d x +b d \right ) A}{b^{2} d \sqrt {x \left (c e \,x^{2}+b e x +c d x +b d \right )}}+\frac {2 \left (c e \,x^{2}+c d x \right ) \left (A c -B b \right )}{\left (b e -c d \right ) b^{2} \sqrt {\left (x +\frac {b}{c}\right ) \left (c e \,x^{2}+c d x \right )}}+\frac {2 \left (-\frac {A c -B b}{b^{2}}-\frac {c d \left (A c -B b \right )}{\left (b e -c d \right ) b^{2}}\right ) b \sqrt {\frac {\left (x +\frac {b}{c}\right ) c}{b}}\, \sqrt {\frac {x +\frac {d}{e}}{-\frac {b}{c}+\frac {d}{e}}}\, \sqrt {-\frac {c x}{b}}\, F\left (\sqrt {\frac {\left (x +\frac {b}{c}\right ) c}{b}}, \sqrt {-\frac {b}{c \left (-\frac {b}{c}+\frac {d}{e}\right )}}\right )}{c \sqrt {c e \,x^{3}+b e \,x^{2}+c d \,x^{2}+b d x}}+\frac {2 \left (\frac {A c e}{b^{2} d}-\frac {c e \left (A c -B b \right )}{b^{2} \left (b e -c d \right )}\right ) b \sqrt {\frac {\left (x +\frac {b}{c}\right ) c}{b}}\, \sqrt {\frac {x +\frac {d}{e}}{-\frac {b}{c}+\frac {d}{e}}}\, \sqrt {-\frac {c x}{b}}\, \left (\left (-\frac {b}{c}+\frac {d}{e}\right ) E\left (\sqrt {\frac {\left (x +\frac {b}{c}\right ) c}{b}}, \sqrt {-\frac {b}{c \left (-\frac {b}{c}+\frac {d}{e}\right )}}\right )-\frac {d F\left (\sqrt {\frac {\left (x +\frac {b}{c}\right ) c}{b}}, \sqrt {-\frac {b}{c \left (-\frac {b}{c}+\frac {d}{e}\right )}}\right )}{e}\right )}{c \sqrt {c e \,x^{3}+b e \,x^{2}+c d \,x^{2}+b d x}}\right )}{\sqrt {x \left (c x +b \right )}\, \sqrt {e x +d}}\) | \(499\) |
default | \(-\frac {2 \left (2 A \sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {c \left (e x +d \right )}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, F\left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) b^{2} c d e -2 A \sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {c \left (e x +d \right )}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, F\left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) b \,c^{2} d^{2}+A \sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {c \left (e x +d \right )}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, E\left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) b^{3} e^{2}-3 A \sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {c \left (e x +d \right )}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, E\left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) b^{2} c d e +2 A \sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {c \left (e x +d \right )}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, E\left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) b \,c^{2} d^{2}-B \sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {c \left (e x +d \right )}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, F\left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) b^{3} d e +B \sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {c \left (e x +d \right )}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, F\left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) b^{2} c \,d^{2}+B \sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {c \left (e x +d \right )}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, E\left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) b^{3} d e -B \sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {c \left (e x +d \right )}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, E\left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) b^{2} c \,d^{2}+A \,x^{2} b \,c^{2} e^{2}-2 A \,x^{2} c^{3} d e +B \,x^{2} b \,c^{2} d e +A x \,b^{2} c \,e^{2}-2 A \,c^{3} d^{2} x +B x b \,c^{2} d^{2}+A \,b^{2} c d e -A \,d^{2} b \,c^{2}\right ) \sqrt {x \left (c x +b \right )}}{x \left (c x +b \right ) \left (b e -c d \right ) c \,b^{2} d \sqrt {e x +d}}\) | \(814\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.11 (sec) , antiderivative size = 560, normalized size of antiderivative = 1.90 \[ \int \frac {A+B x}{\sqrt {d+e x} \left (b x+c x^2\right )^{3/2}} \, dx=\frac {2 \, {\left ({\left ({\left (A b^{2} c e^{2} + {\left (B b c^{2} - 2 \, A c^{3}\right )} d^{2} - 2 \, {\left (B b^{2} c - A b c^{2}\right )} d e\right )} x^{2} + {\left (A b^{3} e^{2} + {\left (B b^{2} c - 2 \, A b c^{2}\right )} d^{2} - 2 \, {\left (B b^{3} - A b^{2} c\right )} d e\right )} x\right )} \sqrt {c e} {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + b^{2} e^{2}\right )}}{3 \, c^{2} e^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, b^{2} c d e^{2} + 2 \, b^{3} e^{3}\right )}}{27 \, c^{3} e^{3}}, \frac {3 \, c e x + c d + b e}{3 \, c e}\right ) + 3 \, {\left ({\left (A b c^{2} e^{2} + {\left (B b c^{2} - 2 \, A c^{3}\right )} d e\right )} x^{2} + {\left (A b^{2} c e^{2} + {\left (B b^{2} c - 2 \, A b c^{2}\right )} d e\right )} x\right )} \sqrt {c e} {\rm weierstrassZeta}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + b^{2} e^{2}\right )}}{3 \, c^{2} e^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, b^{2} c d e^{2} + 2 \, b^{3} e^{3}\right )}}{27 \, c^{3} e^{3}}, {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + b^{2} e^{2}\right )}}{3 \, c^{2} e^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, b^{2} c d e^{2} + 2 \, b^{3} e^{3}\right )}}{27 \, c^{3} e^{3}}, \frac {3 \, c e x + c d + b e}{3 \, c e}\right )\right ) - 3 \, {\left (A b c^{2} d e - A b^{2} c e^{2} - {\left (A b c^{2} e^{2} + {\left (B b c^{2} - 2 \, A c^{3}\right )} d e\right )} x\right )} \sqrt {c x^{2} + b x} \sqrt {e x + d}\right )}}{3 \, {\left ({\left (b^{2} c^{3} d^{2} e - b^{3} c^{2} d e^{2}\right )} x^{2} + {\left (b^{3} c^{2} d^{2} e - b^{4} c d e^{2}\right )} x\right )}} \]
[In]
[Out]
\[ \int \frac {A+B x}{\sqrt {d+e x} \left (b x+c x^2\right )^{3/2}} \, dx=\int \frac {A + B x}{\left (x \left (b + c x\right )\right )^{\frac {3}{2}} \sqrt {d + e x}}\, dx \]
[In]
[Out]
\[ \int \frac {A+B x}{\sqrt {d+e x} \left (b x+c x^2\right )^{3/2}} \, dx=\int { \frac {B x + A}{{\left (c x^{2} + b x\right )}^{\frac {3}{2}} \sqrt {e x + d}} \,d x } \]
[In]
[Out]
\[ \int \frac {A+B x}{\sqrt {d+e x} \left (b x+c x^2\right )^{3/2}} \, dx=\int { \frac {B x + A}{{\left (c x^{2} + b x\right )}^{\frac {3}{2}} \sqrt {e x + d}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {A+B x}{\sqrt {d+e x} \left (b x+c x^2\right )^{3/2}} \, dx=\int \frac {A+B\,x}{{\left (c\,x^2+b\,x\right )}^{3/2}\,\sqrt {d+e\,x}} \,d x \]
[In]
[Out]